package edu.sctu.practice.class01.fengleilin.test10;

/**
 * Created by fll on 2015/10/14.
 */
public class Addition {

    public void addNum(int a, int b) {
        int c = a + b;
        System.out.println("a + b = " + c);
    }

    public void addNum(long a, long b) {
        long c = a + b;
        System.out.println("a + b = " + c);
    }

    public void addNum(double a, double b) {
        double c = a + b;
        System.out.println("a + b = " + c);
    }

    public void addNum(float a, float b) {
        float c = a + b;
        System.out.println("a + b = " + c);
    }

    public void addNum(String a, String b) {
        String c = a + b;
        System.out.println("a + b = " + c);
    }
}
